package com.rpa.secure.servicerpasecure.common.properties;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Schema(description = "jwt配置类")
@ConfigurationProperties(prefix = "rpa.jwt")
@Component
public class JwtProperties {
    @Schema(description ="密钥")
    private String secretKey;
    @Schema(description ="时效")
    private Long expirationTime;
    @Schema(description ="token名字")
    private String tokenName;
}
